package com.ruoyi.wm.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.wm.mapper.WmApparatusInventoryMapper;
import com.ruoyi.wm.domain.WmApparatusInventory;
import com.ruoyi.wm.service.IWmApparatusInventoryService;
import com.ruoyi.common.core.text.Convert;

/**
 * 医疗器械库存清算Service业务层处理
 * 
 * @author hpf
 * @date 2021-11-28
 */
@Service
public class WmApparatusInventoryServiceImpl implements IWmApparatusInventoryService 
{
    @Autowired
    private WmApparatusInventoryMapper wmApparatusInventoryMapper;

    /**
     * 查询医疗器械库存清算
     * 
     * @param id 医疗器械库存清算ID
     * @return 医疗器械库存清算
     */
    @Override
    public WmApparatusInventory selectWmApparatusInventoryById(Long id)
    {
        return wmApparatusInventoryMapper.selectWmApparatusInventoryById(id);
    }

    /**
     * 查询医疗器械库存清算列表
     * 
     * @param wmApparatusInventory 医疗器械库存清算
     * @return 医疗器械库存清算
     */
    @Override
    public List<WmApparatusInventory> selectWmApparatusInventoryList(WmApparatusInventory wmApparatusInventory)
    {
        return wmApparatusInventoryMapper.selectWmApparatusInventoryList(wmApparatusInventory);
    }

    @Override
    public List<WmApparatusInventory> selectWmApparatusInventoryByName(String name) {
        return wmApparatusInventoryMapper.selectWmApparatusInventoryByName(name);
    }
}
